//
//  MXYLuckymoneyViewModel.h
//  meiyinxiang
//
//  Created by apple on 2017/10/20.
//  Copyright © 2017年 hbjApple. All rights reserved.
//

#import <JSONModel/JSONModel.h>
#import "NearbyLuckyMoneyModel.h"
#import "NearbyLuckyMoneyDetail.h"
#import "MYXDetailViewModel.h"
typedef void (^finishBlock)(BOOL success,NSString *message);
@interface MXYLuckymoneyViewModel : JSONModel
@property (assign,nonatomic) NSString * LuckyMoneyId;
@property (assign,nonatomic) float latitude;
@property (assign,nonatomic) float longitude;
@property(nonatomic,strong) NSString *  username;
@property(nonatomic,strong) NSString *  userface;
@property (nonatomic,strong) NSString *is_mine;
@property (nonatomic,strong) UIImage *luckyMoneyImg;
@property (nonatomic,assign) NSInteger page;
@property (nonatomic,strong) MYXDetailViewModel<Optional> *viewModel;
+ (MXYLuckymoneyViewModel *)initWithNearbyLuckyMoneyModel:(NearbyLuckyMoneyModel *)model;
- (void)getMoneyDetailWithIsPullup:(BOOL)isPullup Completion:(finishBlock)completion;
@end
